global_define;
global section;
global info;
global count;
% count = 241;
M0cell = file_fetch('music','sheet1');
tones = tones_define(1);
Mcell = ch2music_type(M0cell,tones,info.l);

T = timer();
T.period = info.section_len * info.l;
T.TimerFcn = {@timer_func,Mcell,M0cell,0};
% T.StopFcn = {@timer_func,M,M0};
T.ExecutionMode='fixedDelay';
start(T);
while count < length(Mcell{1}(1,:))
    pause(0.001);
end
pause(T.period);
delete(T);

